<!DOCTYPE html>
<html>

<head lang="en">
    <meta charset="utf-8">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>


<body>
    <div id="app">
        {{msg}}
        <p>Using mustaches: {{rawHtml}}</p>
        <p v-html="rawHtml"></p>
        <div v-bind:class="color">test...</div>
        <p>{{number+1}}</p>
        <p>{{1==1? 'yes' : 'no'}}</p>
        <p>{{message.split('').reverse().join('')}}</p>
        <p></p>
    </div>
 
    
    <script type="text/javascript">
        var vm = new Vue({
            el: "#app",
            data: {
                msg: "hi vue",
                rawHtml: '<span style="color:red">this is should be red</span>',
                color: 'blue',
                number: 10,
                ok: 1,
                message: "vue"
            }
        });
        vm.msg="hi....";
    </script>
    <style type="text/css">
        .red {
            color: red;
        }

        .blue {
            color: blue;
            font-size: 100px;
        }
    </style>
</body>

</html>